<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>

<script type="text/javascript">

    function selectEffect(dataurl) {
        $(".custom-nav").each(function () {
                $(this).find('li').each(function () {
                $(this).find('a').each(function () {
                        $(this).parent().parent().parent().removeClass("nav-active");
                        $(this).parent().removeClass("active");
                });
                $(this).find('a').each(function () {
                    var shortUrl = $(this).attr("dataurl");
                    if (shortUrl != null && shortUrl == dataurl) {
                        if($(this).parent().parent().attr("class")=="two"){
                            $(this).parent().parent().parent().addClass("nav-active");
                            $(this).parent().parent().parent().show();
                            $(this).parent().addClass("active");
                        }else{
                            $(this).parent().parent().parent().addClass("nav-active");
                            $(this).parent().addClass("active");
                        }
                    }
                });

        });
        });

        $(".custom-nav").each(function () {
            $(this).find('li').each(function () {
                $(this).find('a').each(function () {
                    var shortUrl = $(this).attr("dataurl");
                    if (shortUrl != null && shortUrl == dataurl) {
                        if($(this).parent().parent().attr("class")=="two"){
                            $(this).parent().parent().parent().addClass("nav-active");
                            $(this).parent().parent().parent().show();
                            $(this).parent().addClass("active");
                        }else{
                            $(this).parent().parent().parent().addClass("nav-active");
                            $(this).parent().addClass("active");
                        }
                    }else{

                    }
                });

            });
        });
    }
</script>
<div class="left-side sticky-left-side" tabindex="5000" style="overflow: hidden; outline: none;">

    <!--logo and iconic logo start-->
    <div class="logo">
        <a href="#"><img src="/resources/images/logo.png" alt=""></a>
    </div>

    <div class="logo-icon text-center">
        <a href="#"><img src="/resources/images/logo_icon.png" alt=""></a>
    </div>
    <!--logo and iconic logo end-->


    <div class="left-side-inner">



        <!--sidebar nav start-->
        <ul class="nav nav-pills nav-stacked custom-nav">
            <li class=""><a href="<%=path%>/admin/order/OrderOverView.do" data-url="admin/order/OrderOverView.do"><i class="fa fa-home"></i> <span>总览</span></a></li>
            <li class="menu-list  nav-active" ><a href=""><i class="fa fa-laptop"></i> <span>业务管理</span></a>
                <ul class="sub-menu-list">
                   <%-- <li class="active"><a href="<%=path%>/admin/bus/business_list.do"  dataurl="admin/bus/business_list.do"> 翻新业务</a></li>--%>
                    <li class="active"><a href="<%=path%>/admin/bus/business_list.do"  dataurl="admin/bus/business_list.do"> 维修业务</a></li>

                </ul>
            </li>
            <li><a href="<%=path%>/admin/order/order_list_page.do" data-url="admin/order/order_list_page.do"><i class="fa fa-book"></i> <span>订单管理</span></a>
                <%--<ul class="sub-menu-list">
                    <li><a href="<%=path%>/admin/order/order_list_page.do"> 订单列表</a></li>
                </ul>--%>
            </li>
            <li><a href="<%=path%>/admin/worker/worker_list_page.do" data-url="admin/worker/worker_list_page.do"><i class="fa fa-cogs"></i> <span>师傅管理</span></a>
                <%--<ul class="sub-menu-list">
                    <li><a href="<%=path%>/admin/worker/worker_list_page.do" dataurl="admin/worker/worker_list_page.do"> 师傅信息</a></li>
                </ul>--%>
            </li>

            <li class="menu-list"><a href=""><i class="fa fa-envelope"></i> <span>用户管理</span></a>
                <ul class="sub-menu-list">
                    <li><a href="<%=path%>/admin/cust/customer_list_page.do" dataurl="admin/cust/customer_list_page.do"> 用户信息</a></li>
                    <li><a href="<%=path%>/admin/cust/customer_suggest_page.do" dataurl="admin/cust/customer_suggest_page.do"> 用户评价</a></li>
                </ul>
            </li>

            <li><a href="<%=path%>/admin/user/user_list.do" dataurl="admin/user/user_list.do"><i class="fa fa-bullhorn"></i> <span>账户管理</span></a></li>
            <li class="menu-list"><a href=""><i class="fa fa-bar-chart-o"></i> <span>业务类型管理</span></a>
                <ul class="sub-menu-list">
                    <li><a href="<%=path%>/admin/btype/business_type_list.do"  dataurl="admin/btype/business_type_list.do"> 业务类型列表</a></li>
                </ul>
            </li>

        </ul>
        <!--sidebar nav end-->

    </div>
</div>